﻿using NGourd.Core.Features;

namespace NGourd.Google.Features
{
    class Calculator : Feature
    {
        /// <summary>
        /// As a math n00b
        /// I want to be able to get answers to simple math problems
        /// So I don't make mathematical mistakes
        /// </summary>
        public Calculator()
        {
            Scenario("Simple Addition")
                .Given(@"I am at the home page")
                .When(@"I enter ""3 + 4"" into the search box")
                .And(@"I click Go")
                .Then(@"I should see ""3 + 4 = 7""");

            Scenario("Didn't want Calculator")
                .Given(@"I am at the home page")
                .When(@"I enter ""3 + 4"" into the search box")
                .And(@"I click Go")
                .Then(@"I should see ""Search for documents containing the terms 3 + 4""");
        }
    }
}
